export const request = (param) =>{
  return new Promise(function(resolve,rejuct){
    wx.request({
      ...param,
      success: (result) => {
        resolve(result);
      },
      fail: (res) => {
        rejuct(res);
      }
    })
  });
}

